package com.warmheart.core.util;

public class QueryEscapedUtil {
    public static String escapeStr(String str) {
        str = str.replaceAll("_", "\\\\_");
        str = str.replaceAll("%", "\\\\%");
        return str;
    }
}
